home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000598_coleman@math.gatech.edu_Sat May 14 19:09:39 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from gatech.edu by cs.umb.edu with SMTP id AA10655
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sat, 14 May 1994 23:08:22 -0400
  3. Received: from math (math.gatech.edu) by gatech.edu with SMTP id AA08325
  4.   (5.65c/Gatech-10.0-IDA for <tex-k@cs.umb.edu>); Sat, 14 May 1994 23:08:30 -0400
  5. Received: from math15.gatech.edu by math (4.1/SMI-4.1)
  6.     id AA17488; Sat, 14 May 94 23:09:07 EDT
  7. From: coleman@math.gatech.edu (Richard Coleman)
  8. Message-Id: <9405150309.AA17488@math>
  9. Subject: Re: help installing xdvi
  10. To: tex-k@cs.umb.edu
  11. Date: Sat, 14 May 1994 23:09:39 -0400 (EDT)
  12. In-Reply-To: <9405132235.AA25482@AME.Arizona.edu> from "Holger Bauer 8/93" at May 13, 94 03:35:15 pm
  13. X-Mailer: ELM [version 2.4 PL23]
  14. Mime-Version: 1.0
  15. Content-Type: text/plain; charset=US-ASCII
  16. Content-Transfer-Encoding: 7bit
  17. Content-Length: 938       
  18.  
  19. > I had once exactly the same problem with lots of other programs.
  20. > The compilation error is due to an error in either Xmu or Xaw (I think
  21. > it's Xmu). You can go around it by defining the compiler option:
  22. > -static 
  23. > I'm not very familiar with the gcc - Options. Therefore here your line
  24. > with the cc:
  25. > ....... -Bstatic -lXaw -lXmu -Bdynamic -lXt -lXext -lX11  -lm 
  26. > This should work. However the binaries are larger when compiled with
  27. > the static option.
  28.  
  29.  
  30. I believe you only have to put the -Bstatic around -lXmu, not -lXaw.
  31. Someone please correct me if this is wrong.
  32.  
  33.  
  34.  
  35. > Maybe you can also put -static -dynamic around Xmu with the gcc. I did
  36. > not check that yet.
  37.  
  38. You can't do that with gcc.  As I understand it, the -static
  39. option will link all libraries in statically.  I don't think
  40. gcc has the ability to link some statically and some
  41. dynamically (like cc).
  42.  
  43.  
  44. Richard Coleman
  45. coleman@math.gatech.edu